package com.company.cloud.point.modules.api.request;

import com.company.cloud.common.bean.BaseParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Getter
@Setter
public class PointEventParam extends BaseParam {


    @ApiModelProperty(value = "公司编号",required = true)
    @NotEmpty(message = "公司编号不能为空")
    private String companyNo;

    @ApiModelProperty(value = "事件编号",required = true)
    @NotEmpty(message = "事件编号不能为空")
    private String eventNo;

    @ApiModelProperty(value = "奖励用户ID",required = true)
    @NotNull(message = "奖励用户ID不能为空")
    private Integer userId;


    @ApiModelProperty(value = "操作人ID",required = true)
    @NotNull(message = "操作人ID不能为空")
    private  Integer opUserId;

    @ApiModelProperty(value = "操作人IP",required = true)
    @NotEmpty(message = "操作人IP不能为空")
    private String opIp;



}
